﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="opendata.aspx.cs" Inherits="Admin_qcxxgl_opendata" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../../css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />
    <style>
     .style1
        {
            width: 100%;
        }
        .style3
        {
            text-align: center;
        }
        .style4
        {
            text-align: left;
        }
        .style5
        {
            height: 20px;
        }
        .style6
        {
            text-align: right;
        }
        .style7
        {
            color: #000000;
            text-align: right;
        }
        .style8
        {
            width: 4%;
        }
        </style>
    <link href="../../css/bootstrap1.min.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style=" margin-top:20px">
    <table class="style1">
        <tr>
            <td class="style8" width="2%" >
                &nbsp;</td>
            <td width="10%" >
                <asp:Button ID="Button1"  runat="server" Text="学校信息设置" onclick="Button1_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button2"  runat="server" Text="报考年份设置" onclick="Button2_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button3" runat="server" Text="开放时间设置" onclick="Button3_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button4" runat="server" Text="考试时间设置" onclick="Button4_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button5" runat="server" Text="考试科目设置" onclick="Button5_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button6" runat="server" Text="报考专业设置" onclick="Button6_Click" 
                    CssClass="btn01" />
            </td>
            <td width="10%">
                <asp:Button ID="Button7" runat="server" Text="院校信息设置" onclick="Button7_Click" 
                    style="text-align:left" CssClass="btn01"  />
            </td>
            <td>
            </td>
        </tr>
    </table>
    </div>
<div style=" width:100%;margin:50px auto">
                            <table width="100%">
                                <tr>
                                    <td align="center" >
                                        <asp:Label ID="Label6" runat="server" 
                                style="font-weight: 700; font-size: xx-large" Text="开放时间管理"></asp:Label></td>
                                </tr>
    </table>
                            </div>
<div style="width:600px; height:500px; border-radius:8px; margin:15px auto;">
        <table><tr><td>
           <asp:Repeater ID="rp_OpenDate" runat="server">
          <HeaderTemplate> 
              <table  class="table table-bordered table-hover">
                  <tr>
                      <td style="width:105px;">
                          <b>类别</b>
                      </td>
                      <td>
                          <b>开放开始时间</b>
                      </td>
                      <td>
                          <b>结束开放时间</b>
                      </td>
                  </tr>
                  </HeaderTemplate>
                   <ItemTemplate>
                             <tr>
                                 <td>
                                     <%#Eval("authorityName") %><asp:HiddenField runat="server" ID="openId" Value='<%#Eval("Id") %>' />
                                 </td>
                                 <td> 
                                      <div class="input-group date form_datetime col-md-5" data-date="2016-04-16T05:25:07Z" data-date-format="yyyy-mm-dd hh:ii:ss" data-link-field="dtp_input1">
                                          <asp:HiddenField ID="hd_StartDate" runat="server" Value='<%#Eval("begDate") %>'/>
                                          <asp:TextBox runat="server" ID="tb_StartDate" class="form-control" ReadOnly="true" Width="180px" Text='<%#Eval("begDate") %>'></asp:TextBox>
                                          
<%--                                            <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>--%>
					                        <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
                                      </div>
                                 </td>
                                 <td>
                                       <div class="input-group date form_datetime col-md-5" data-date="2016-04-16T05:25:07Z" data-date-format="yyyy-mm-dd hh:ii:ss" data-link-field="dtp_input1">
                                       <asp:HiddenField ID="hd_EndDate" runat="server" Value='<%#Eval("endDate") %>'/>
                                       <asp:TextBox runat="server" ID="tb_EndDate" class="form-control" Width="180px" ReadOnly="true" Text='<%#Eval("endDate") %>'></asp:TextBox>
                                      <%-- <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>--%>
					                   <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
                                       </div>
                                  </td>
                             </tr>    
                        </ItemTemplate>
          <FooterTemplate></table></FooterTemplate>
  </asp:Repeater>
                   </td>
               </tr>
            <tr>
                <td>
             <asp:Button runat="server" class="btn btn-primary" ID="bt_Submit" OnClick="bt_Submit_Click" Text="保存修改" />    
            </td>
            </tr>
        </table>    
       </div>
    </form>
    <script src="../../jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../../jquery/bootstrap.js" type="text/javascript"></script>
    <script src="../../jquery/bootstrap-datetimepicker.js" type="text/javascript"></script>
    <script src="../../jquery/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
     
    <script type="text/javascript">
        $('.form_datetime').datetimepicker({
            language: 'zh-CN',
            weekStart: 1,
            todayBtn: 1,
            autoclose: 1,
            todayHighlight: 1,
            startView: 2,
            forceParse: 0,
            showMeridian: 1
        });
</script>
</asp:Content>

